package cn.whb.hrm.controller;

import cn.whb.hrm.util.AjaxResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class SuccessController {

    @PostMapping("/success")
    public AjaxResult success(){
        return AjaxResult.me().setMessage("你来了吗");
    }
}
